package com.gemfire.onlineretailer.domain;

/**
 * Depending on the receipent of the payment, a payment voucher can be of 
 * different types.  
 * @author Binit Datta
 */

import java.io.Serializable;

public enum PaymentVoucherType implements Serializable {

	VENDOR_PAYMENT(1), EMPLOYEE_PAYMENT(2), MISC_PAYMENT(3);

	private int code;
	 
	 private PaymentVoucherType(int c) {
	   code = c;
	 }
	 
	 public int getCode() {
	   return code;
	 }
}


